
#ifndef  __QUEUE_PCM_H__
#define  __QUEUE_PCM_H__

#include "debug.h"
#include "include_other.h"
#include "include_com.h"


#define  MAX_PCM_SIZE_4K           (1*1024*1024)


typedef struct pcm_index {
	uint8_t*     data;
    unsigned int size;
    int64_t      pts;
} pcm_index_t;


typedef struct _audio_data_t {

	pcm_index_t  packet[MAX_PCM_SIZE_4K]; 

    unsigned int rindex;
    unsigned int windex;

	int64_t      total;
	int64_t      remain;

} audio_data_t;



#endif

